<ion-view view-title="npic订票" class='xg-home-view'>
  <ion-content class="padding">
    <ion-slide-box class="xg-slider">
      <ion-slide on-slide-changed="slideHasChanged(index)">
        <div class="xg-slide3">
          <div class="float-fix">
            <span class="ion-ios-bell xg-home-notice">公告</span>
          </div>
          <p ng-bind="notice.content"></p>
          <p class="xg-slide-date" ng-bind="notice.date|limitTo:10"></p>
        </div>
      </ion-slide>
    </ion-slide-box>

    <div class="row xg-home-row">
      <div class="col xg-home-reminder">
        <img src="img/home/head.jpg" alt="头像" class="xg-head-pic">
        <p ng-if="!homeData.haveTickes">欢迎你，{{homeData.name}}！</p>
        <p ng-if="homeData.haveTickes">欢迎你，{{homeData.name}}! 你有待使用车票,请注意乘车时间~~</p>
      </div>
    </div>

    <!-- 假期方向 begin -->
    <div class="row xg-home-row" ng-show="homeData.authority.t00">
      <div class="col xg-home-icon xg-home-icon-holi" ng-show="homeData.authority.t01">
        <a class="item-content" href="#/chengdu_holi">
          <img src="img/home/icon3.png" alt="图标">
          <span><br>成都方向</span>
        </a>
      </div>
      <div class="col xg-home-icon xg-home-icon-holi" ng-show="homeData.authority.t02">
        <a class="item-content" href="#/jidi_holi">
          <img src="img/home/icon4.png" alt="图标">
          <span><br>基地方向</span>
        </a>
      </div>
      <div class="col xg-home-icon xg-home-icon-holi" ng-show="homeData.authority.t03">
        <a class="item-content" href="#/my_tickets_holi">
          <img src="img/home/icon7.png" alt="图标">
          <span><br>假期车票</span>
        </a>
      </div>
      <div class="col xg-home-icon" ng-show="homeData.authority.t04">
        <a class="item-content" href="#/changeTicketHoli">
          <img src="img/home/icon12.png" alt="图标">
          <span><br>换车换座</span>
        </a>
      </div>
    </div>
    <!-- 假期 end -->

    <!-- 工作日 begin -->
    <div class="row xg-home-row" ng-show="homeData.authority.t10">
      <div class="col xg-home-icon xg-home-icon-work" ng-show="homeData.authority.t11">
        <a class="item-content" href="#/chengdu_work">
          <img src="img/home/icon1.png" alt="图标">
          <span><br>成都方向</span>
        </a>
      </div>
      <div class="col xg-home-icon xg-home-icon-work" ng-show="homeData.authority.t12">
        <a class="item-content" href="#/jidi_work">
          <img src="img/home/icon2.png" alt="图标">
          <span><br>基地方向</span>
        </a>
      </div>
      <div class="col xg-home-icon xg-home-icon-work" ng-show="homeData.authority.t13">
        <a class="item-content" href="#/my_tickets_work">
          <img src="img/home/icon11.png" alt="图标">
          <span><br>工作车票</span>
        </a>
      </div>
      <div class="col xg-home-icon" ng-show="homeData.authority.t14">
        <a class="item-content" href="#/notice">
          <img src="img/home/icon8.png" alt="图标">
          <span><br>通知中心</span>
        </a>
      </div>
    </div>
    <!-- 工作日 end -->

    <div class="row xg-home-row" ng-show="homeData.authority.t20">
      <div class="col xg-home-icon xg-home-icon5" ng-show="homeData.authority.t21">
        <a class="item-content" href="#/query_phone">
          <img src="img/home/icon5.png" alt="图标">
          <span><br>电话速查</span>
        </a>
      </div>
      <div class="col xg-home-icon xg-home-icon5" ng-show="homeData.authority.t22">
        <a class="item-content" href="#/exam">
          <img src="img/home/icon15.png" alt="图标">
          <span><br>练题测试</span>
        </a>
      </div>
      <div class="col xg-home-icon xg-home-icon5" ng-show="homeData.authority.t23">
        <a class="item-content" href="#/community" >
          <img src="img/home/community.png" alt="图标">
          <span><br>小N社区</span>
        </a>
      </div>
      <div class="col xg-home-icon xg-home-icon5" ng-show="homeData.authority.t24">
        <a class="item-content" href="#/lifeMap">
          <img src="img/home/icon13.png" alt="图标">
          <span><br>乘车地图</span>
        </a>
      </div>
    </div>

    <div class="row xg-home-row" ng-show="homeData.authority.t30">
      <div class="col xg-home-icon xg-home-icon5" ng-show="homeData.authority.t31">
        <a class="item-content" href="#/newsBlackBoard">
          <img src="img/home/icon14.png" alt="图标">
          <span><br>小黑板</span>
        </a>
      </div>
      <div class="col xg-home-icon xg-home-icon5" ng-show="homeData.authority.t32">
        <a class="item-content" href="#/personal_car">
          <img src="img/home/icon6.png" alt="图标">
          <span><br>拼车拼玩</span>
        </a>
      </div>
      <div class="col xg-home-icon xg-home-icon5"  ng-show="homeData.authority.t33">
        <a class="item-content" href="#/bbs">
          <img src="img/home/icon6.png" alt="图标">
          <span><br>社区中心</span>
        </a>
      </div>
      <div class="col xg-home-icon xg-home-icon5"  ng-show="homeData.authority.t34">
        <a class="item-content" href="#/personal_car">
          <img src="img/home/icon6.png" alt="图标">
          <span><br>拼车拼玩</span>
        </a>
      </div>
    </div>

    <div class="row xg-home-row" ng-show="homeData.authority.t40">
      <div class="col xg-home-icon xg-home-icon5" ng-show="homeData.authority.t41">
        <a class="item-content" href="#/check">
          <img src="img/home/icon9.png" alt="图标">
          <span><br>人员审核</span>
        </a>
      </div>
      <div class="col xg-home-icon xg-home-icon5" ng-show="homeData.authority.t42">
        <a class="item-content" href="#/check_ticket">
          <img src="img/home/icon10.png" alt="图标">
          <span><br>车票审核</span>
        </a>
      </div>
      <div class="col" ng-show="homeData.authority.t43">

      </div>
      <div class="col" ng-show="homeData.authority.t44">

      </div>
    </div>
  </ion-content>
</ion-view>
